Optimal. Leaf size=26 \[ \frac{a x^2}{2}-\frac{b \tanh ^{-1}\left (\cosh \left (c+d x^2\right )\right )}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0273907, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {14, 5437, 3770} \[ \frac{a x^2}{2}-\frac{b \tanh ^{-1}\left (\cosh \left (c+d x^2\right )\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 5437
Rule 3770
Rubi steps
\begin{align*} \int x \left (a+b \text{csch}\left (c+d x^2\right )\right ) \, dx &=\int \left (a x+b x \text{csch}\left (c+d x^2\right )\right ) \, dx\\ &=\frac{a x^2}{2}+b \int x \text{csch}\left (c+d x^2\right ) \, dx\\ &=\frac{a x^2}{2}+\frac{1}{2} b \operatorname{Subst}\left (\int \text{csch}(c+d x) \, dx,x,x^2\right )\\ &=\frac{a x^2}{2}-\frac{b \tanh ^{-1}\left (\cosh \left (c+d x^2\right )\right )}{2 d}\\ \end{align*}
Mathematica [B] time = 0.0340381, size = 57, normalized size = 2.19 \[ \frac{a x^2}{2}+\frac{b \log \left (\sinh \left (\frac{c}{2}+\frac{d x^2}{2}\right )\right )}{2 d}-\frac{b \log \left (\cosh \left (\frac{c}{2}+\frac{d x^2}{2}\right )\right )}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 33, normalized size = 1.3 \begin{align*}{\frac{a{x}^{2}}{2}}+{\frac{b}{2\,d}\ln \left ( \tanh \left ({\frac{d{x}^{2}}{2}}+{\frac{c}{2}} \right ) \right ) }+{\frac{ac}{2\,d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.24722, size = 34, normalized size = 1.31 \begin{align*} \frac{1}{2} \, a x^{2} + \frac{b \log \left (\tanh \left (\frac{1}{2} \, d x^{2} + \frac{1}{2} \, c\right )\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.69215, size = 150, normalized size = 5.77 \begin{align*} \frac{a d x^{2} - b \log \left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right ) + 1\right ) + b \log \left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right ) - 1\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \left (a + b \operatorname{csch}{\left (c + d x^{2} \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.15841, size = 66, normalized size = 2.54 \begin{align*} \frac{{\left (d x^{2} + c\right )} a}{2 \, d} - \frac{b \log \left (e^{\left (d x^{2} + c\right )} + 1\right )}{2 \, d} + \frac{b \log \left ({\left | e^{\left (d x^{2} + c\right )} - 1 \right |}\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]